package com.adcc.loadsheet.billing.vo;

import com.adcc.loadsheet.billing.entity.ScAirportEntity;

/**
 * 机场表实体VO
 * Created by zhaoml on 2020/4/13.
 */
public class ScAirportEntityVO extends BasisVO<ScAirportEntity> {
    private Integer id;   //主键ID
    private String airportShortname;
    private String airportName;
    private String isAddContent;
    private String addContent;
    private String remark;

    private Boolean checked;    //是否被选中
    private String airportNameCut;  //截取的机场名（页面显示）

    @Override
    public ScAirportEntity toEntity() {
        ScAirportEntity airportEntity = new ScAirportEntity();
        airportEntity.setId(this.id);
        airportEntity.setAirportShortname(this.airportShortname);
        airportEntity.setAirportName(this.airportName);
        airportEntity.setIsAddContent(this.isAddContent);
        airportEntity.setAddContent(this.addContent);
        airportEntity.setRemark(this.remark);
        return airportEntity;
    }

    @Override
    public String toJSON() {
        return null;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAirportShortname() {
        return airportShortname;
    }

    public void setAirportShortname(String airportShortname) {
        this.airportShortname = airportShortname;
    }

    public String getAirportName() {
        return airportName;
    }

    public void setAirportName(String airportName) {
        this.airportName = airportName;
    }

    public String getIsAddContent() {
        return isAddContent;
    }

    public void setIsAddContent(String isAddContent) {
        this.isAddContent = isAddContent;
    }

    public String getAddContent() {
        return addContent;
    }

    public void setAddContent(String addContent) {
        this.addContent = addContent;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public String getAirportNameCut() {
        return airportNameCut;
    }

    public void setAirportNameCut(String airportNameCut) {
        this.airportNameCut = airportNameCut;
    }
}